/*****************************************************************************************
Arise Engine		MainFrm.h

					E-mail:		arise_engine@mail.ru

created:			17.03.2007
last changes:		21.04.2007

MainFrm.h : interface of the CMainFrame class

Project is an MFC application, using the single-document model, split-window style.
Based on EffectEdit Direct3D Sample (c) Microsoft Corporation. All rights reserved.
*****************************************************************************************/
#pragma once

#include "SplitterWnd.h"


class CMainFrame : public CFrameWnd
{
	
protected: // create from serialization only
	CMainFrame();
	DECLARE_DYNCREATE(CMainFrame)

// Attributes

	CMySplitterWnd	m_wndSplitter_main;
	CMySplitterWnd	m_wndSplitter_left;
	CToolBar		m_wndToolBar;

public:

// Operations

// Overrides

	virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);

// Implementation

	virtual ~CMainFrame();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif


// Generated message map functions
protected:
	//{{AFX_MSG(CMainFrame)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnRender();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnClose();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


extern HWND g_hwnd_main_frame;
